import { defineStore } from 'pinia'

//http://58.210.32.10:6080/arcgis/rest/services/KSSW_DATA/BaseMap/MapServe
//http://58.210.32.10:6080/arcgis/rest/services/KSSW_DATA/BaseMap_TDT/MapServer
//url_vector:`http://t0.tianditu.gov.cn/DataServer?T=vec_w&x={x}&y={y}&l={z}&tk=75f010ade3774ece011189c62f3c46a9`,
//url_image:`http://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=75f010ade3774ece011189c62f3c46a9`
export const mapUrl = defineStore('mapUrl', {
  state: () => {
    return {
      BaseMapUrl:
        'http://58.210.32.10:6080/arcgis/rest/services/KSSW_DATA/BaseMap/MapServer',
      ImageMapUrl:
        'http://58.210.32.10:6080/arcgis/rest/services/KSSW_DATA/ImageMap/MapServer',
      WebMapUrl:
        'http://58.210.32.10:6080/arcgis/rest/services/KSSW_DATA/BaseMap_TDT/MapServer',
      TopographyMapUrl:
        'http://58.210.32.10:6080/arcgis/rest/services/KSSW_DATA/BaseMap_DEM/MapServer',
      ZT_YXGW_YS_Url:
        'http://58.210.32.10:6080/arcgis/rest/services/KSSW_DATA/ZT_PCGW_YS/MapServer',
      HJUrl:
        'http://58.210.32.10:9068/arcgis/rest/services/KSSW_DATA/ZT_ZDZT_HJG/MapServer',
    }
  },
  getters: {},
  actions: {},
})
